/*
 * Copyright 2011 Digia Oyj - Jaakko Purhonen <jaakko.purhonen@digia.com>
 */

#ifndef TRACEXPORTSETTINGSPAGE_H
#define TRACEXPORTSETTINGSPAGE_H

#include "xmlrpc/xmlrpcrequest.h"
#include <QtGui/QWizardPage>

namespace XmlRpc {
class XmlRpcConnection;
class XmlRpcResponse;
class XmlRpcRequest;
}

namespace Trac {
namespace Internal {

class TracExportSettingsWidget;

class TracExportSettingsPage : public QWizardPage
{
    Q_OBJECT
public:
    explicit TracExportSettingsPage(QWidget *parent = 0);
    virtual ~TracExportSettingsPage();

    virtual void initializePage();
    virtual bool isComplete() const;
    virtual bool validatePage();

private slots:


private:
    TracExportSettingsWidget *m_widget;
    XmlRpc::XmlRpcConnection *m_connection;
    XmlRpc::XmlRpcRequest m_request;

    bool createProject();
};

} // namespace Internal
} // namespace Trac

#endif // TRACEXPORTSETTINGSPAGE_H
